using Core.Domain.Entities;
using Core.IocHelpers;

namespace Core.Domain.Interfaces
{
  ///<summary></summary>
  [AutoRegisterable]
  public interface IPersonFinder : IEntityFinder<Person>
  {
    ///<summary>Search by any part of their name</summary>
    ///<param name="namePart"></param>
    ///<returns></returns>
    Person ByNamePart(string namePart);
  }
}